package cn.mdmbct.spring.starter.douyin.life.config;

import cn.mdmbct.douyin.common.config.HttpConfig;
import cn.mdmbct.douyin.common.session.DySession;
import cn.mdmbct.douyin.life.service.interfaces.DyLifeService;
import cn.mdmbct.spring.starter.douyin.common.properties.dy.DyOpenApiProperties;
import cn.mdmbct.spring.starter.douyin.common.properties.dy.HttpProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author mdmbct  mdmbct@outlook.com
 * @date 2021/4/25 22:26
 * @modified mdmbct
 * @since 1.0
 */
@Configuration
public class DyOpenApiLifeServiceAutoConfiguration {

    @Bean
    @ConditionalOnMissingBean
    public DyLifeService dyLifeService(DyOpenApiProperties apiProperties, DySession dySession) {

        HttpProperties httpProperties = apiProperties.getHttp();
        HttpConfig httpConfig = new HttpConfig();

        return null;
    }


}
